package com.dy.lock.screen.component;

import com.dy.lock.screen.scoket.Head;
import com.dy.lock.screen.vo.AdvertVo;

/**
 * 获取广告信息
 * 
 * @author java
 * 
 */
public interface AdvertComponent {

	/**
	 * 获取广告信息
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public AdvertVo getAdvertInfo(String body, Head head) throws Exception;

	/**
	 * 广告记录操作记录表
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws Exception
	 */
	public boolean operateAdvertRecord(String body, Head head) throws Exception;
}
